<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/common/taglibs.jsp"%>
<html>
	<head>
		<title>人员绩效-金融风险管理系统</title>
		<script src="${contextPath}/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
        <link href="${contextPath}/styles/default.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
		function release_(id) {
			var searchForm = document.searchForm;
			searchForm.action = "<s:property value='contextPath'/>/cm/release.do?id="+id+"&search.releaseOnly="+id;
			searchForm.submit();
		}
		</script>
	</head>
	<body>
	<div class="navigation">
	    <span><a href="javascript:window.history.back();"><img src="${contextPath}/images/back_nav_btn.png" /></a>
	    <a href="javascript:window.history.back();">返回</a>
	    <a href="javascript:window.history.forward();"><img src="${contextPath}/images/go_nav_btn.png" /></a>
	     <a href="javascript:window.history.forward();">前进</a>
	    <a href="javascript:window.location.reload();"><img src="${contextPath}/images/refresh_nav_btn.png" /></a>
	     <a href="javascript:window.location.reload();">刷新</a>
	    </span>人员绩效&gt;&gt;详情
  	</div>
	<div class="xt_main_right_center">
	<table width="100%" border="0" align="center">
		<tr>
			<td  class="left-td-width-bg" align="right">姓名：</td>
			<td>${entity.user.realName }</td>
			<td  class="left-td-width-bg" align="right">4S店：</td>
			<td><s:property value="getNotReAllShopNames(entity)"/></td>
        </tr>
	    <tr>
			<td class="left-td-width-bg"  align="right">区域：</td>
			<td><s:property value="getNotReAreaNames(entity)"/></td>
	    	<td class="left-td-width-bg"  align="right">职务：</td>
			<td>${entity.user.post.name }</td>
        </tr>
	    <tr>
			<td  class="left-td-width-bg" align="right">应发金额：</td>
			<td>${entity.amount }</td>
			<td class="left-td-width-bg"  align="right">实发 金额：</td>
			<td>${entity.realAmount }</td>
        </tr>
	    <tr>
			<td class="left-td-width-bg"  align="right">绩效月份：</td>
			<td>
				<s:property value="entity.monthDate"/>
			</td>
			<td  class="left-td-width-bg" align="right">核发时期：</td>
			<td>
				<s:property value="entity.paymentDate"/>
				<s:date name="entity.paymentDate" format="yyyy-MM-dd" />
			</td>
        </tr>
        <tr>
        	<td colspan="4" align="center">
        		<input type="button" value="" onclick="javascript:window.history.back();" class="btn_return" />
        	</td>
        </tr>
      </table>
      
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
		    <td height="25" align="left"><font color="#0066CC"><strong>绩效明细：</strong></font></td>
		    <td height="25" align="right">
		    
            </td>
		  </tr>
		</table>
      <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
		  <tr>
    		        <td width="3%" class="top-td-width-bg">序号</td>
    		        <td width="8%" class="top-td-width-bg">发放岗位</td>
    		        <td width="8%" class="top-td-width-bg">店铺</td>
				    <td width="8%" class="top-td-width-bg">绩效月份</td>
			    	<td width="8%" class="top-td-width-bg">应发金额</td>
				    <td width="28%" class="top-td-width-bg">费用明细</td>
			        <td width="5%" class="top-td-width-bg">备注</td>
		  </tr>
		  
 <s:iterator value="entity.assignUsers" status="s" id="assignUser">
	<tr> 
	  <td class="down-center-td-width-bg">${s.index+1}</td>
	  <td class="down-left-td-width-bg">
	  	<s:property value="postType.name"/>
	  </td>	  
	 	<td class="down-center-td-width-bg">
	  	<s:property value="#assignUser.paShopMonthDetail.performanceAssignShopDetail.shop.shopName"/>
	  </td>
	  <td class="down-center-td-width-bg"> 
		  <s:property value="monthDate"/>
	  </td>

	  <td class="down-center-td-width-bg">
		   <s:property value="amount"/>
	  </td>
	  <td class="down-center-td-width-bg">
	  	<s:iterator value="paShopMonthDetail.billOptions" id="billOption">
	  		<s:property value="#billOption.financial.name"/>(<s:property value="#billOption.amount"/>)&nbsp;
	  	</s:iterator>
	  </td>
	  <td class="down-center-td-width-bg">
	    <s:property value="remark"/>
	  </td>
	</tr>
</s:iterator>		  
		<tr>
		 <td height="36" colspan="10" class="down-center-td-width-bg" align="right">
			<%@ include file="/WEB-INF/view/common/pagination.jsp"%>
 		</td>
		  </tr>
		</table>
   </div>
	</body>
</html>